@import '~antd/es/style/themes/default.less';

html,
body,
#root {
  height: 100%;
  background: #fff;
}

.colorWeak {
  filter: invert(80%);
}

.ant-layout {
  min-height: 100vh;
}

canvas {
  display: block;
}

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

ul,
ol {
  list-style: none;
}

.ant-space-vertical {
  width: 100%;
}

.ant-upload-list-picture > .ant-upload-list-item-name {
  line-height: 1.5 !important;
  white-space: normal !important;
}

.ant-upload-list-item-name {
  line-height: 1.5 !important;
  white-space: normal !important;
}

.ant-upload-list-item-card-actions-btn.ant-btn-sm {
  width: 40px !important;
  height: 40px !important;
  font-size: 20px !important;
}
.ant-pro-sider-logo {
  padding: 0;
  height: 60px;
}
// .ant-pro-sider .ant-menu {
//   background: #eeeeee;
// }
.ant-upload-list-item-progress {
  bottom: 0px !important;
}

@media (max-width: @screen-xs) {
  .ant-table {
    width: 100%;
    overflow-x: auto;
    &-thead > tr,
    &-tbody > tr {
      > th,
      > td {
        white-space: pre;
        > span {
          display: block;
        }
      }
    }
  }
}

@media (max-width: 750px) { 
  .ant-pro-page-container-warp {
    padding-top: 10px !important;
  }
}

@media (max-width: 900px) {
  .ant-pro-table > .ant-pro-table-search {
    padding: 4px !important;
  }

  .ant-pro-card-body {
    padding: 4px !important;
  }
  

  .ant-pro-basicLayout-content {
    margin: 5px !important;
    overflow-x: hidden;
  }

  .ant-modal-body {
    padding: 10px !important;
  }
}

// Compatible with IE11
@media screen and(-ms-high-contrast: active), (-ms-high-contrast: none) {
  body .ant-design-pro > .ant-layout {
    min-height: 100vh;
  }
}

.imgBox{
  display: block;
  height: 100%;
  img{
      width: 100%;
  }
}

.fileBox{
  flex-direction: column;
  text-align: center;
  color: #005fe0;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0,95,224,.4);
  border-radius: 4px;
  .icon{
      display: block;
      font-size: 32px;
      margin-bottom: 6px;
  }
}

:global{
  .ant-row{
    width:100%
  }
}
